package models;

import models.enums.AdminExpressStatus;

import javax.persistence.*;

/**
 * Created by liming on 16/8/2.
 * 物流
 */
@Entity
@Table(name = "admin_express")
public class AdminExpress extends BaseModel {

    /**
     * 物流单编码
     */
    @Column(name = "code")
    public String code;

    /**
     * 物流单状态
     */
    @Column(name = "admin_express_status")
    @Enumerated(EnumType.STRING)
    public AdminExpressStatus adminExpressStatus;

    //发货日期
    @Transient
    public String createAtStr;

}
